package com.bootdo.repertory.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.repertory.dao.DisassemblyDao;
import com.bootdo.repertory.domain.DisassemblyDO;
import com.bootdo.repertory.service.DisassemblyService;



@Service
public class DisassemblyServiceImpl implements DisassemblyService {
	@Autowired
	private DisassemblyDao disassemblyDao;
	
	@Override
	public DisassemblyDO get(Integer id){
		return disassemblyDao.get(id);
	}
	
	@Override
	public List<DisassemblyDO> list(Map<String, Object> map){
		return disassemblyDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return disassemblyDao.count(map);
	}
	
	@Override
	public int save(DisassemblyDO disassembly){
		return disassemblyDao.save(disassembly);
	}
	
	@Override
	public int update(DisassemblyDO disassembly){
		return disassemblyDao.update(disassembly);
	}
	
	@Override
	public int remove(Integer id){
		return disassemblyDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return disassemblyDao.batchRemove(ids);
	}
	
}
